Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / INIndexedSet<T> Interface / IndexOf Method


In This Topic
    IndexOf Method (INIndexedSet<T>)
    In This Topic
    Gets the index at which the item appears in the set for the first time. Returns -1 if the item does not appear in the set.
    Syntax
    'Declaration
     
    
    Function IndexOf( _
       ByVal item As T _
    ) As System.Integer
    'Usage
     
    
    Dim instance As INIndexedSet(Of T)
    Dim item As T
    Dim value As System.Integer
     
    value = instance.IndexOf(item)
    System.int IndexOf( 
       T item
    )

    Parameters

    item
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also